package org.nuonuo.sdk.model.callback.content;

import java.math.BigDecimal;

/**
 * <pre>
 * 回传红字信息表申请结果接口
 *  1、红字信息表申请成功后，可根据该接口定义的形式接收红字信息表数据，内容包括（申请编号、信息表编号、销方税号、信息表编号、信息表状态、信息表商品明细等）。
 *  2、申请红字信息表接口中 callBackUrl 字段有值时才返回，与企业资质中的开票结果回调地址无关
 * </pre>
 *
 * @Version 1.0
 * @Author az
 * @Date 2024-04-15 17:34:44
 * @ClassName InvoiceRedConfirmContent
 * @Description 红字确认单信息
 */
@Deprecated
public class InvoiceRedConfirmContent {
    /**
     * <pre>
     * 录入方身份：
     *  0 销方
     *  1 购方
     * </pre>
     */
    private String applySource;
    /**
     * <pre>
     * 是否自动开票：
     *  0 否
     *  1 是
     * </pre>
     */
    private String autoInvoice;
    /**
     * 确认单申请号
     */
    private String billId;
    /**
     * 确认单编号
     */
    private String billNo;
    /**
     * 确认单uuid
     */
    private String billUuid;
    /**
     * <pre>
     * 红字确认单状态：
     *  01 无需确认
     *  02 销方录入待购方确认
     *  03 购方录入待销方确认
     *  04 购销双方已确认
     *  05 作废（销方录入购方否认）
     *  06 作废（购方录入销方否认）
     *  07 作废（超72小时未确认）
     *  08 作废（发起方已撤销）
     *  09 作废（确认后撤销）
     *  15 申请中
     *  16 申请失败
     * </pre>
     */
    private String billStatus;
    /**
     * 确认单描述
     */
    private String billMessage;
    /**
     * <pre>
     * 已开具红字发票标记：
     *  1 已开具
     *  0 未开具
     * </pre>
     */
    private String openStatus;
    /**
     * 申请日期
     */
    private Long billTime;
    /**
     * 不含税金额
     */
    private BigDecimal taxExcludedAmount;
    /**
     * 税额
     */
    private BigDecimal taxAmount;
    /**
     * 含税金额
     */
    private BigDecimal taxIncludeAmount;
    /**
     * 蓝票数电票号码
     */
    private String blueElecInvoiceNumber;
    /**
     * 蓝票发票代码，数电纸票时有
     */
    private String blueInvoiceCode;
    /**
     * 蓝票发票号码，数电纸票时有
     */
    private String blueInvoiceNumber;
    /**
     * 蓝票开具时间
     */
    private String blueInvoiceTime;
    /**
     * <pre>
     * 蓝字发票票种：
     *  bs：电子发票(增值税专用发票)
     *  pc：电子发票(普通发票)
     *  es:数电纸质发票(增值税专用发票)
     *  ec:数电纸质发票(普通发票)
     * </pre>
     */
    private String blueInvoiceLine;
    /**
     * 销方税号
     */
    private String sellerTaxNo;
    /**
     * 销方名称
     */
    private String sellerName;
    /**
     * 购方税号
     */
    private String buyerTaxNo;
    /**
     * 购方名称
     */
    private String buyerName;
    /**
     * 销方账号
     */
    private String sellerAccount;
    /**
     * 购方银行账号
     */
    private String buyerAccount;
    /**
     * <pre>
     * 冲红原因：
     *  1 销货退回
     *  2 开票有误
     *  3 服务中止
     *  4 销售折让
     * </pre>
     */
    private String redReason;
    /**
     * 确认时间
     */
    private Long confirmTime;
    /**
     * 回传地址
     */
    private String callbackUrl;
    /**
     * 开票人id
     */
    private String clerkId;
    /**
     * 部门id
     */
    private String departmentId;
    /**
     * 确认开具标志，Y：是，N：否
     */
    private String confirmInvoicedFlag;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 交付邮箱
     */
    private String email;
    /**
     * 交付手机
     */
    private String phone;
    /**
     * 开票的订单编号
     */
    private String orderNo;

    private String accountStatus;
    private boolean allRedFlag;
    private Long id;
    private Integer requestSrc;
    private String saleTaxUsage;
    private String service;
    private String taskNo;
    private Long updateTime;
    private String vatUsage;

    public String getApplySource() {
        return applySource;
    }

    public void setApplySource(String applySource) {
        this.applySource = applySource;
    }

    public String getAutoInvoice() {
        return autoInvoice;
    }

    public void setAutoInvoice(String autoInvoice) {
        this.autoInvoice = autoInvoice;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getBillUuid() {
        return billUuid;
    }

    public void setBillUuid(String billUuid) {
        this.billUuid = billUuid;
    }

    public String getBillStatus() {
        return billStatus;
    }

    public void setBillStatus(String billStatus) {
        this.billStatus = billStatus;
    }

    public String getBillMessage() {
        return billMessage;
    }

    public void setBillMessage(String billMessage) {
        this.billMessage = billMessage;
    }

    public String getOpenStatus() {
        return openStatus;
    }

    public void setOpenStatus(String openStatus) {
        this.openStatus = openStatus;
    }

    public Long getBillTime() {
        return billTime;
    }

    public void setBillTime(Long billTime) {
        this.billTime = billTime;
    }

    public BigDecimal getTaxExcludedAmount() {
        return taxExcludedAmount;
    }

    public void setTaxExcludedAmount(BigDecimal taxExcludedAmount) {
        this.taxExcludedAmount = taxExcludedAmount;
    }

    public BigDecimal getTaxAmount() {
        return taxAmount;
    }

    public void setTaxAmount(BigDecimal taxAmount) {
        this.taxAmount = taxAmount;
    }

    public BigDecimal getTaxIncludeAmount() {
        return taxIncludeAmount;
    }

    public void setTaxIncludeAmount(BigDecimal taxIncludeAmount) {
        this.taxIncludeAmount = taxIncludeAmount;
    }

    public String getBlueElecInvoiceNumber() {
        return blueElecInvoiceNumber;
    }

    public void setBlueElecInvoiceNumber(String blueElecInvoiceNumber) {
        this.blueElecInvoiceNumber = blueElecInvoiceNumber;
    }

    public String getBlueInvoiceCode() {
        return blueInvoiceCode;
    }

    public void setBlueInvoiceCode(String blueInvoiceCode) {
        this.blueInvoiceCode = blueInvoiceCode;
    }

    public String getBlueInvoiceNumber() {
        return blueInvoiceNumber;
    }

    public void setBlueInvoiceNumber(String blueInvoiceNumber) {
        this.blueInvoiceNumber = blueInvoiceNumber;
    }

    public String getBlueInvoiceTime() {
        return blueInvoiceTime;
    }

    public void setBlueInvoiceTime(String blueInvoiceTime) {
        this.blueInvoiceTime = blueInvoiceTime;
    }

    public String getBlueInvoiceLine() {
        return blueInvoiceLine;
    }

    public void setBlueInvoiceLine(String blueInvoiceLine) {
        this.blueInvoiceLine = blueInvoiceLine;
    }

    public String getSellerTaxNo() {
        return sellerTaxNo;
    }

    public void setSellerTaxNo(String sellerTaxNo) {
        this.sellerTaxNo = sellerTaxNo;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public String getBuyerTaxNo() {
        return buyerTaxNo;
    }

    public void setBuyerTaxNo(String buyerTaxNo) {
        this.buyerTaxNo = buyerTaxNo;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public String getSellerAccount() {
        return sellerAccount;
    }

    public void setSellerAccount(String sellerAccount) {
        this.sellerAccount = sellerAccount;
    }

    public String getBuyerAccount() {
        return buyerAccount;
    }

    public void setBuyerAccount(String buyerAccount) {
        this.buyerAccount = buyerAccount;
    }

    public String getRedReason() {
        return redReason;
    }

    public void setRedReason(String redReason) {
        this.redReason = redReason;
    }

    public Long getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Long confirmTime) {
        this.confirmTime = confirmTime;
    }

    public String getCallbackUrl() {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl) {
        this.callbackUrl = callbackUrl;
    }

    public String getClerkId() {
        return clerkId;
    }

    public void setClerkId(String clerkId) {
        this.clerkId = clerkId;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getConfirmInvoicedFlag() {
        return confirmInvoicedFlag;
    }

    public void setConfirmInvoicedFlag(String confirmInvoicedFlag) {
        this.confirmInvoicedFlag = confirmInvoicedFlag;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(String accountStatus) {
        this.accountStatus = accountStatus;
    }

    public boolean isAllRedFlag() {
        return allRedFlag;
    }

    public void setAllRedFlag(boolean allRedFlag) {
        this.allRedFlag = allRedFlag;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getRequestSrc() {
        return requestSrc;
    }

    public void setRequestSrc(Integer requestSrc) {
        this.requestSrc = requestSrc;
    }

    public String getSaleTaxUsage() {
        return saleTaxUsage;
    }

    public void setSaleTaxUsage(String saleTaxUsage) {
        this.saleTaxUsage = saleTaxUsage;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getTaskNo() {
        return taskNo;
    }

    public void setTaskNo(String taskNo) {
        this.taskNo = taskNo;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getVatUsage() {
        return vatUsage;
    }

    public void setVatUsage(String vatUsage) {
        this.vatUsage = vatUsage;
    }
}
